package com.httam.taxiSmart;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.widget.TextView;

public class CompareCostActivity extends FragmentActivity {

	// Handle widgets UI
	private TextView txtCostResult;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_compare_cost);
		
		txtCostResult = (TextView)findViewById(R.id.txt_gpsCost);
		getCostResult();
	}
	
	private void getCostResult() {
		Bundle bundle = getIntent().getExtras();
		
		// Get data using the getString()
		String result = bundle.getString("FEE");
		txtCostResult.setText(result);
	}
}
